/****************************************************************
 * Fulguro
 * Copyright (C) 2004 Christophe Clienti
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 ***************************************************************/

#ifdef __cplusplus
extern "C" {
#endif

#ifndef __FLGR_ARITH_SSE2_H
#define __FLGR_ARITH_SSE2_H

#include <flgrCoreDll.h>
#include <flgrCoreData.h>
#include <flgrCoreVector.h>


  EXPORT_LIB void flgr1d_arith_inf_SSE2_fgBIT(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);
  EXPORT_LIB void flgr1d_arith_inf_SSE2_fgUINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);
  EXPORT_LIB void flgr1d_arith_inf_SSE2_fgINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);

  EXPORT_LIB void flgr1d_arith_sup_SSE2_fgBIT(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);
  EXPORT_LIB void flgr1d_arith_sup_SSE2_fgUINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);
  EXPORT_LIB void flgr1d_arith_sup_SSE2_fgINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);

  EXPORT_LIB void flgr1d_arith_and_SSE2_fgBIT(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);
  EXPORT_LIB void flgr1d_arith_and_SSE2_fgUINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_and_SSE2_fgUINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_and_SSE2_fgUINT32(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_and_SSE2_fgINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_and_SSE2_fgINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_and_SSE2_fgINT32(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  

  EXPORT_LIB void flgr1d_arith_or_SSE2_fgBIT(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);
  EXPORT_LIB void flgr1d_arith_or_SSE2_fgUINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_or_SSE2_fgUINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_or_SSE2_fgUINT32(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_or_SSE2_fgINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_or_SSE2_fgINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_or_SSE2_fgINT32(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  

  EXPORT_LIB void flgr1d_arith_xor_SSE2_fgBIT(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);
  EXPORT_LIB void flgr1d_arith_xor_SSE2_fgUINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_xor_SSE2_fgUINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_xor_SSE2_fgUINT32(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_xor_SSE2_fgINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_xor_SSE2_fgINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_xor_SSE2_fgINT32(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  

  EXPORT_LIB void flgr1d_arith_add_SSE2_fgBIT(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_add_SSE2_fgUINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_add_SSE2_fgUINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_add_SSE2_fgINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  
  EXPORT_LIB void flgr1d_arith_add_SSE2_fgINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);  

  EXPORT_LIB void flgr1d_arith_addsat_SSE2_fgUINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);
  EXPORT_LIB void flgr1d_arith_addsat_SSE2_fgUINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);
  EXPORT_LIB void flgr1d_arith_addsat_SSE2_fgINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);

  EXPORT_LIB void flgr1d_arith_sub_SSE2_fgBIT(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);
  EXPORT_LIB void flgr1d_arith_sub_SSE2_fgUINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);
  EXPORT_LIB void flgr1d_arith_sub_SSE2_fgUINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);
  EXPORT_LIB void flgr1d_arith_sub_SSE2_fgINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);
  EXPORT_LIB void flgr1d_arith_sub_SSE2_fgINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);

  EXPORT_LIB void flgr1d_arith_subsat_SSE2_fgUINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);
  EXPORT_LIB void flgr1d_arith_subsat_SSE2_fgUINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);
  EXPORT_LIB void flgr1d_arith_subsat_SSE2_fgINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Data1D *data2);



  EXPORT_LIB void flgr1d_arith_const_inf_spp1_SSE2_fgUINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_inf_spp1_SSE2_fgINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);

  EXPORT_LIB void flgr1d_arith_const_sup_spp1_SSE2_fgUINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_sup_spp1_SSE2_fgINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);

  EXPORT_LIB void flgr1d_arith_const_and_spp1_SSE2_fgUINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_and_spp1_SSE2_fgUINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_and_spp1_SSE2_fgUINT32(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_and_spp1_SSE2_fgINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_and_spp1_SSE2_fgINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_and_spp1_SSE2_fgINT32(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);

  EXPORT_LIB void flgr1d_arith_const_or_spp1_SSE2_fgUINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_or_spp1_SSE2_fgUINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_or_spp1_SSE2_fgUINT32(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_or_spp1_SSE2_fgINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_or_spp1_SSE2_fgINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_or_spp1_SSE2_fgINT32(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);

  EXPORT_LIB void flgr1d_arith_const_xor_spp1_SSE2_fgUINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_xor_spp1_SSE2_fgUINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_xor_spp1_SSE2_fgUINT32(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_xor_spp1_SSE2_fgINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_xor_spp1_SSE2_fgINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_xor_spp1_SSE2_fgINT32(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);

  EXPORT_LIB void flgr1d_arith_const_add_spp1_SSE2_fgUINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_add_spp1_SSE2_fgUINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_add_spp1_SSE2_fgINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_add_spp1_SSE2_fgINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);

  EXPORT_LIB void flgr1d_arith_const_addsat_spp1_SSE2_fgUINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_addsat_spp1_SSE2_fgUINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_addsat_spp1_SSE2_fgINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);

  EXPORT_LIB void flgr1d_arith_const_sub_spp1_SSE2_fgUINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_sub_spp1_SSE2_fgUINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_sub_spp1_SSE2_fgINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_sub_spp1_SSE2_fgINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);

  EXPORT_LIB void flgr1d_arith_const_subsat_spp1_SSE2_fgUINT8(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_subsat_spp1_SSE2_fgUINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);
  EXPORT_LIB void flgr1d_arith_const_subsat_spp1_SSE2_fgINT16(FLGR_Data1D *imgdest, FLGR_Data1D *data1, FLGR_Vector *vec_const);



#endif

#ifdef __cplusplus
}
#endif
